package com.easy.generator.vue;

import com.easy.generator.Easy;

import java.io.File;

/**
 * @author easy
 * @date 2025年07月11日 18:21
 */
public class Assets_Generator {
    private static final String DIR_NAME = Easy.VUE_LOCAL_PATH;
    private static final String PACKAGE_NAME = Easy.MODEL_PACKAGE +".generator.vue.assets";
    private static final String DEST_PATH = Easy.VUE_LOCAL_PATH + "/src/assets";
    public static void generate() throws Exception {
        File outputFile = new File(Easy.PROJECT_ABSOLUTE_URL + Easy.SRC_DIR + Easy.convertPackagePath(PACKAGE_NAME) );

        Easy.mkdirs(DEST_PATH);
        Easy.copyDri(outputFile.getAbsolutePath(), DEST_PATH);
        System.out.println("静态文件夹复制完毕");
    }
}
